<!DOCTYPE html>
<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld" %>
<%
	String actionUrl = request.getContextPath() + "/DispatchAction.do";
%>
<%@page import="com.baosight.iplat4j.core.resource.I18nMessages"%>
<html>
<EF:EFHead includeDefault="true">
<script type="text/javascript" src="./ZM/zm.js"></script>

</EF:EFHead>
<EF:EFBody>
	<EF:EFForm formId="ZMCG10" method="POST" action="<%=actionUrl%>"> 
 		<div class="ef-layout">
	        <div id="_left" class="ef-layout-west">
	        	<div class="ef-tree-div" style="height:500px">
	                <EF:EFTree model="categorytree" id="categoryTree" text="质检中心" configFunc="configTree" >
	                </EF:EFTree>
	            </div>
	        </div>
	        <div id="_right" class="ef-layout-east" style="height:600px">
	           	<br>
				<div style="margin:0 auto;text-align:center"><label style="font-size:30px;">煤质台帐</label></div>
				<div style="text-align: right">
					<EF:EFInput blockId="inqu_status" row="0" type="text" ename="fdReportStartTime" popup="date" etc=" style='width:133px;'"/>
				</div>
				<div style="overflow: hidden">
					<table>
						<tr>  
							<td nowrap width="5%" style="text-align:center;font-weight:bold">库存情况： </td>
							<td nowrap width="8%" align="right">帐上库存总量:</td>
							<td nowrap width="12%"><EF:EFInput blockId="inqu_status0" etc="readonly=readonly style='width:133px;'" ename="fdBeginDate"/></td>
							<td nowrap width="8%" align="right">煤坪总量:</td>
							<td nowrap width="12%"><EF:EFInput blockId="inqu_status0" etc="readonly=readonly style='width:133px;'" ename="fdEndDate"/></td>
							<td nowrap width="8%" align="right">洗选厂原煤仓:</td>
							<td nowrap width="12%"><EF:EFInput blockId="inqu_status0" etc="readonly=readonly style='width:133px;'" ename="fdEndDate"/></td>
							<td nowrap width="8%" align="right">洗选厂精煤仓:</td>
							<td nowrap width="12%"><EF:EFInput blockId="inqu_status0" etc="readonly=readonly style='width:133px;'" ename="fdEndDate"/></td>
						</tr> 
					</table> 
				</div>
				<div id="ef_tab_y" lastRange="98%" eftabWidth="100%" style="overflow: hidden;border-width:0px;padding:0px">
					<div id="tab1" title="毛煤质量台帐 " eftabSrc="DispatchAction.do?efFormEname=ZMCN51" efRemember="yes" style="border:0px;padding:0px"></div>
					<div id="tab2" title="入厂质量台帐  " eftabSrc="about:blank" efRemember="yes" style="border:0px;padding:0px"></div>
					<div id="tab3" title="电煤质量台帐  " eftabSrc="about:blank" efRemember="yes" style="border:0px;padding:0px"></div>
					<div id="tab4" title="混煤质量台帐 " eftabSrc="about:blank" efRemember="yes" style="border:0px;padding:0px"></div>
					<div id="tab5" title="筛下煤质量台帐" eftabSrc="about:blank" efRemember="yes" style="border:0px;padding:0px"></div>
					<div id="tab6" title="洗煤质量台帐 " eftabSrc="about:blank" efRemember="yes" style="border:0px;padding:0px"></div>
					<div id="tab7" title="汽车煤质量台帐 " eftabSrc="about:blank" efRemember="yes" style="border:0px;padding:0px"></div>
					<div id="tab7" title="日盘存台帐" eftabSrc="about:blank" efRemember="yes" style="border:0px;padding:0px"></div>
				</div> 
	        </div>
				<EF:EFRegion /> 
		</div>
		<EF:EFTab tabId="y" action="fundiv"/> 
		<script type="text/javascript"> 
			var frames = $("#ef_tab_y iframe");
			if(window.parent != window && window.parent.hideSubPageHead == true) {
				$("#ef_tab_y").css("padding-top", "8px").css("padding-left", "4px");
			}
			onSubPageLoad = function(wnd) {
				for(var i=0; i<frames.length; i++) {
					if (frames[i].contentWindow == wnd) {
						adjustFrameHeight(frames[i]);
						break;
					}
				}
			}
			adjustFrameHeight = function(frame) {
				var oldHeight = $(frame).height();
				$(frame).css("border", "0");
				$("#jquery_tab_div_content").css("border", "0");
				var height = frame.contentWindow.document.body.scrollHeight;
				if (height > oldHeight) {
					$(frame).css("height", height);
				}
				if(window.parent != window && window.parent.hideSubPageHead == true) {
					var pFrames = window.parent.frames;
					for(var i=0; i<pFrames.length; i++) {
						if (pFrames[i].contentWindow == window) {
							window.parent.adjustFrameHeight(pFrames[i]);
							break;
						}
					}
				}
			}
			</script>
	</EF:EFForm> 
</EF:EFBody> 
</html>